﻿@using Framework.Comum.Pesquisa;
@using Framework.Comum.DataAnnotation;
@{
    CampoPesquisa atributoPesquisa = NaviCar.Metadata.MetaDados.RecuperarAtributos<CampoPesquisa>(this.ViewData);
}
@Html.TextBox("",(object) this.Model, new {@CssClassPropertyAttribute="texto"})
@if (atributoPesquisa != null)
{    
    <input type="hidden" value="@atributoPesquisa.TipoPesquisa|@atributoPesquisa.Campo|@atributoPesquisa.Campo2|" id="@("p_hd" + ViewData.TemplateInfo.HtmlFieldPrefix)" name="@("p_hd" + ViewData.TemplateInfo.HtmlFieldPrefix)"/>
}